﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xAtom_GetLock（获取xAtom对象的线程锁）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<P>函数原型：<br>Function xAtom_GetLock(x As xAtom Ptr) As Integer<br>int xAtom_GetLock(xAtom* x);</P>
<P>VB、VBS、按键精灵声明：<br>Declare Function Lib "xTask.dll" xAtom_GetLock(ByVal x As Long) As Long</P>
<P>参数：<br>x：xAtom对象指针</P>
<P>返回xAtom对象的内置线程锁对象</P>
<P>说明：<br>获取xAtom对象的内置线程锁对象，可以用线程锁函数操作（使用xAtom_Lock和xAtom_UnLock可以直接操作）。</P>
</body>
</html>